/*
 * @Descripttion: 
 * @version: 1.0
 * @Author: Sam
 * @Date: 2022-04-07 21:15:35
 * @LastEditors: Sam
 * @LastEditTime: 2022-07-12 18:37:16
 */
import request from '@/utils/request'

/**
 * 列表
 * @param params
 * @returns {AxiosPromise}
 */
export function order_chart(param) {
  return request({
    url: '/admin/get_echarts_order',
    method: 'get',
    params: param
  })
}

/**
 * 商品列表
 * @param {*} param 
 * @returns 
 */
export function goods_chart(param) {
  return request({
    url: '/admin/get_echarts_product',
    method: 'get',
    params: param
  })
}


export function get_echarts_collection(param) {
  return request({
    url: '/admin/get_echarts_collection',
    method: 'get',
    params: param
  })
}

export function get_echarts_profity(param) {
  return request({
    url: '/admin/get_echarts_profity',
    method: 'get',
    params: param
  })
}

export function get_echarts_stock() {
  return request({
    url: '/admin/get_echarts_stock',
    method: 'get',
  })
}

export function getTuiPriesList() {
  return request({
    url: '/admin/getTuiPriesList',
    method: 'get'
  })
}

export function getUserBillBrokerage(param) {
  return request({
    url: '/admin/getUserBillBrokerage',
    method: 'get',
    params: param
  })
}

export function getRebateBadge(param) {
  return request({
    url: '/admin/getRebateBadge',
    method: 'get',
    params: param
  })
}

export function getCommissonCount(param) {
  return request({
    url: '/admin/getCommissonCount',
    method: 'get',
    params: param
  })
}

export function getCommissionList(param) {
  return request({
    url: '/admin/getCommissionList',
    method: 'get',
    params: param
  })
}

export function getExtractHead(param) {
  return request({
    url: '/admin/getExtractHead',
    method: 'get',
    params: param
  })
}


export function getExtractData(param) {
  return request({
    url: '/admin/getExtractData',
    method: 'get',
    params: param
  })
}



